#define _CRT_SECURE_NO_WARNINGS

#include<stdio.h>

int main()
{
	int n = 0;
	int i = 0;
	while(scanf("%d", &n)==1)
	{
		for (i = 0; i < n; i++)
		{
			for (int j = i + 1; j < n; j++)
				printf(" ");
			printf("*\n");
		}
	}
	
	return 0;
}
